/**
 * OperationLogServiceImpl.java
 * Created at 2017-07-13
 * Created by Jackie liu
 * Copyright (C) 2014 , All rights reserved.
 */
package com.huabo.service.impl;

import com.huabo.base.BaseServiceImpl;
import com.huabo.dao.inter.OperationLogDao;
import com.huabo.model.OperationLog;
import com.huabo.service.inter.OperationLogService;
import com.huabo.sql.separation.DataSourceChange;
import com.huabo.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>ClassName: OperationLogServiceImpl</p>
 * <p>Description: 通用操作日志service实现</p>
 * <p>Author: Jackie liu</p>
 * <p>Date: 2017-07-13</p>
 */
@Service("operationLogService")
public class OperationLogServiceImpl extends BaseServiceImpl<OperationLog, Long, OperationLogDao> implements OperationLogService {

	@Override
	@DataSourceChange(slave = true)
	public Page<OperationLog> queryPage(Map<String, Object> params) {
		return getDao().queryPage(params);
	}
}